package com.atguigu.model.system;

import com.atguigu.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.apache.ibatis.annotations.Lang;

import java.util.List;

/**
 * @Author： ekode
 * @Date： 2025/9/26 上午10:01
 * @Describe：
 */

@Data
public class SysMenu extends BaseEntity {
    @TableField("parent_id")
   private String parentId;

    @TableField("name")
    private String name;

    @TableField("type")
    private String type;

    @TableField("path")
    private Integer path;

    @TableField("component")
    private String component;

    @TableField("perms")
    private String perms;

    @TableField("icon")
    private String icon;

    @TableField("sort_value")
    private  Integer sortValue;

    @TableField("status")
    private Integer status;

    @TableField(exist = false)
    private List<SysMenu> children;

    @TableField(exist = false)
    private boolean isSelect;

}
